package com.cn.xiaonuo.slbfinances.slexapply.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface ExApplyBuyMapper extends BaseMapper<String> {

    //查询：实名制用户
    List<Map<String,Object>> queryRealUser(
            @Param("user_id") String user_id,
            @Param("real_name") String real_name,
            @Param("phone") String phone,
            @Param("check_state") String check_state,
            @Param("shop_name") String shop_name,
            @Param("shop_id") String shop_id
    );


    //查询：用户赠送酒来源及去向
    List<Map<String,Object>> queryUserWine(
            @Param("wjs_user_id") String wjs_user_id,
            @Param("user_id") String user_id,
            @Param("user_phone") String user_phone,
            @Param("user_name") String user_name

    );

}
